package com.dnzx.model;

import java.util.Date;

import org.apache.ibatis.type.Alias;
import org.dnzx.framework.orm.LongBaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Alias("paymentBO")
@ApiModel(value = "Payment 投资信息BO")
public class PaymentBO extends BaseBO {

	private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "交易编号  生成规则： PAY_yyyyMMddHHmmssSss")
    private String sn;
    @ApiModelProperty(value = "用户ID")
    private Long userId	;
    @ApiModelProperty(value = "项目ID")
    private Long projectId;
    @ApiModelProperty(value = "投资金额")
    private double amt;
    @ApiModelProperty(value = "投资后用户余额")
    private double balanceAmt;
	@ApiModelProperty(value = "投资后项目金额")
	private double projectAmt;
    @ApiModelProperty(value = "交易类型 1-USDT 字典： PAY_TYPE")
    private String payType;
    @ApiModelProperty(value = "投资时间")
    private Date tradeTime = new Date();

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public double getAmt() {
        return amt;
    }

    public void setAmt(double amt) {
        this.amt = amt;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public double getBalanceAmt() {
        return balanceAmt;
    }

    public void setBalanceAmt(double balanceAmt) {
        this.balanceAmt = balanceAmt;
    }

    public double getProjectAmt() {
        return projectAmt;
    }

    public void setProjectAmt(double projectAmt) {
        this.projectAmt = projectAmt;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Date getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(Date tradeTime) {
        this.tradeTime = tradeTime;
    }
}

